containerId=`docker ps -a | grep -w git_ui | awk '{print $1}'`
echo $containerId
if [ "$containerId"!="" ]
then
        echo 'you'
        docker rm $containerId
	docker run -i -v /home/jenkins/workspace/gitee_ui:/e2e -w /e2e --name=git_ui cypress/included:10.3.1
else
        echo 'wu'
	docker run -i -v /home/jenkins/workspace/gitee_ui:/e2e -w /e2e --name=git_ui cypress/included:10.3.1
fi

cp -r /home/jenkins/workspace/gitee_ui/cypress/reports/* /home/git/aotu_test_git/ui/
